{% extends 'base_project.html' %}

{% block title %}{{ project }} Timeline{% endblock title %}

{% block content %}
<h2>Timeline</h2>
{% for event in events.object_list %}
<p>{{ event.description }} <a href="{{ event.content_object.get_absolute_url }}">{{ event.content_object }}</a> on {{ event.date|date:"D M d Y" }} at {{ event.date|date:"P" }}</p>
{% endfor %}
{% endblock content %}

{% block pagination_nav %}
{% with events as objects %}{% include '_pagination_nav.html' %}{% endwith %}
{% endblock %}